package com.zsr.xmall.product.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zsr.common.entity.product.AttrGroupEntity;
import com.zsr.common.vo.product.SpuItemAttrGroupVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 属性分组
 * 
 * @author zsrey
 * @email zsrey8880@163.com
 * @date 2022-06-09 23:33:50
 */
@Mapper
public interface AttrGroupDao extends BaseMapper<AttrGroupEntity> {

    List<SpuItemAttrGroupVO> getAttrGroupWithAttrBySpuId(@Param("spuId") Long spuId,@Param("catalogId") Long catalogId);
}
